package net.dgg.rz.production.dao;


import com.sun.corba.se.spi.orbutil.threadpool.WorkQueue;
import net.dgg.rz.production.entity.Assistant;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface AssistantDao {
    int deleteByPrimaryKey(Long id);

    int insert(Assistant record);

    int insertSelective(Assistant record);

    Assistant selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Assistant record);

    int updateByPrimaryKey(Assistant record);

    /**
    * <p>@Description 根据参数查协单</p>
    * <p>@author mqy</p>
    * <p>@Time 2018/8/14 0014 17:02 创建时间</p>
    * <p>@return</p>
    */
    List<Assistant> query(Map map);

    /**
     * @return
     * @Author Quanlin Wan
     * @Description //TODO
     * @Date 10:05 2019/3/29
     * @Param
     **/
    List<Assistant> selectByscOrderId(@Param("scProductOrderId")Long scOrderId);
    
}